package com.zan.pattern.visitor;

/**
 * @Author Zan
 * @Create 2024/4/27 17:26
 * @Description : 抽象访问者角色类
 * @ClassName: Person
 */
public interface Person {

    // 喂食宠物猫
    void feed(Cat cat);

    // 喂食宠物狗
    void feed(Dog dog);
}
